login_data = [{"username": "13488888888", "password": "123456"},
              {"username": "", "password": "123456"},
              {"username": "13800000001", "password": ""},
              {"username": "13800000001", "password": "123"}]

def login(phone, pwd):
 if phone == "13488888888" and pwd == "123456":
    print("登录成功")
 else:
    print("登录失败")
num = 1
for i in login_data:
  phone = i.get("username")
  pwd = i.get("password")
  print(f"第{num}次测试")
  login(phone, pwd)
  num += 1




